package com.achao.servlet;

import com.achao.annotation.MyWebServlet;
import com.achao.dto.Request;
import com.achao.dto.Response;

/**
 * @Author: achao
 * @DateTime: 2022/8/9 22:56
 * @Description: TODO
 */

@MyWebServlet("/test")
public class TestServlet extends MyHttpServlet {

    @Override
    public void doPost(Request request, Response response) {
        response.write("脑壳疼");
    }

    @Override
    public void doGet(Request request, Response response) {
        doPost(request,response);
    }
}
